// 颜色
$main-color: #007dff;
$auxiliary-color: #f6f8fa;
$border-color: #d8d8d8;
$line-color: #e1e6ed;
// 字体大小
$font-size: 14px;
$font-sizes: 18px;
$font-size1: 12px;
:deep(.el-select__wrapper) {
  width: 100%;
}
:deep(.el-input__wrapper) {
  background-color: #fff !important;
}
.purchase {
  background-color: #fff;
  position: relative;
  padding-bottom: 100px;
  border-radius: 10px;
  box-shadow: 4px 5px 16px 0px rgba(4, 19, 74, 0.04);
  // 头部
  &_header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 62px;
    max-height: 62px;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 20px 0 20px;
    overflow: hidden;
    button {
      background: #f2f3f5;
      width: 92px;
    }
    div {
      display: flex;
      justify-content: space-between;
      p {
        margin-right: 40px;
      }
      p:first-child {
        font-weight: bold;
      }
    }
  }
  // 供应商信息
  &_supply_information {
    padding: 0 20px 0 20px;
    // margin-bottom: 33px;
    p {
      font-size: 18px;
      margin: 20px 0 20px 0;
    }
    &_message {
      background-color: $auxiliary-color;
      padding: 20px;
      display: flex;
      justify-content: space-between;
      div {
        p {
          font-size: 14px;
        }
      }
    }
    &_serch {
      display: flex;
      align-items: center;
      p {
        margin-right: 10px;
      }
      div {
        display: flex;
        width: 80%;
        .el-select {
          width: 500px !important;
          min-width: 80% !important;
          .el-select__wrapper {
            width: 100% !important;
            background: #f2f3f5 !important;
          }
          :deep(.el-select__wrapper) {
            width: 100% !important;
            background: #f2f3f5 !important;
          }
        }
        button {
          margin-left: 20px;
        }
      }
      &_select {
        div {
          .add_btn {
            background: #007dff !important;
            opacity: 0.5;
          }
        }
      }
    }
  }
  &_commodity_information {
    padding: 20px;
    p {
      font-size: 18px;
      margin: 20px 0 20px 0;
    }
  }
  .purchase_form {
    border-top: 1px solid #e2e8f0;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    margin-top: 13px;
    :deep(.el-input__wrapper) {
      background: #f2f3f5 !important;
      box-shadow: none !important;
    }
    :deep(.el-textarea__inner) {
      background: #f2f3f5 !important;
      box-shadow: none !important;
    }
    &-left {
      flex: 2;
      padding: 20px;
      margin-right: 12px;
      :deep(.el-upload) {
        width: 50% !important;
        height: 100px !important;
        display: flex;
        flex-direction: column;
        // width: 80px;
        height: 80px;
        background: #f2f3f5;
        border-radius: 4px 4px 4px 4px;
        button {
          border: none !important;
          background-color: transparent !important;
        }
        p {
          color: #86909c !important;
        }
      }

      .input-number {
        ::v-deep(.el-input__inner) {
          text-align: left;
        }
      }
      .warehouse_content {
        width: 100%;
        height: 58px;
        border: 1px solid #dcdfe6;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        padding-left: 20px;
        overflow: hidden;
        .el-select {
          width: 50%;
        }
      }
    }
    &-right {
      flex: 1;
      padding: 20px;
      background: #f6f8fa;
      border-radius: 0px 0px 0px 0px;
      border-left: 1px solid #e2e8f0;
      box-sizing: border-box;
      .header {
        display: flex;
        p {
          width: 64px;
        }
        .el-select {
          width: 200px;
        }
        :deep(.el-select__wrapper) {
          background-color: #fff;
        }
      }
      &-top {
        .header {
          display: flex;
          align-items: center;
          :deep(.el-select__wrapper) {
            box-shadow: none !important;
          }
          p {
            font-size: 14px;
            color: #3d3d3d;
            background-color: #fff;
            height: 32px;
            border-top-left-radius: 4px;
            border-bottom-left-radius: 4px;
            line-height: 32px;
            text-align: center;
            border-right: 1px solid #dcdfe6;
            margin-bottom: 0 !important;
          }
        }
        .title {
          font-size: 16px;
          color: #86909c;
          margin: 20px 0 20px 0;
        }
        div {
          p {
            font-size: 14px;
            color: #1a1a1a;
            margin-bottom: 10px;
          }
          p:first-child {
            color: #86909c;
          }
        }
      }
      // &-top{
      //     .header{
      //         p{
      //             font-size: 18px;
      //             color: #86909C;
      //             margin-bottom: 20px;
      //         }
      //     }
      //     p:nth-child(1){
      //         font-size: 18px;
      //         color: #86909C;
      //         margin-bottom: 20px;
      //     }
      //     div{
      //         margin-bottom: 10px;
      //         line-height: 2;
      //         p:nth-child(1){
      //             font-size: 14px;
      //             margin-bottom: 0px;

      //         }
      //     }
      // }
      // &-botton{
      //     p:nth-child(1){
      //         font-size: 18px;
      //         color: #86909C;
      //         margin-bottom: 20px;
      //     }
      //     div{
      //         margin-bottom: 10px;
      //         line-height: 2;
      //         p:nth-child(1){
      //             font-size: 14px;
      //             margin-bottom: 0px;

      //         }
      //     }
      // }
    }
  }
  .botton_btn {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: #ffffff;
    box-shadow: 0px -3px 10px 0px rgba(4, 24, 48, 0.1);
    border-radius: 0px 0px 0px 0px;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    .left {
      display: flex;
      flex-direction: column;
      justify-content: center;
      & > div {
        display: flex;
        align-items: center;
        padding-left: 20px;
        overflow: hidden;
        p {
          margin: 0 50px 0 0;
          font-size: 14px;
          color: #86909c;
          span {
            color: #3d3d3d;
          }
        }
        &:nth-of-type(2) {
          p {
            font-size: 18px;
            color: #3d3d3d;
            &:nth-of-type(3),
            &:nth-of-type(4) {
              span {
                color: #ff3333;
              }
            }
          }
        }
      }
    }
    .right {
      display: flex;
      justify-content: center;
      align-items: center;
      padding-right: 20px;
      overflow: hidden;
    }
  }
}
.sp_message {
  display: flex;
  div:nth-child(1) {
    width: 80px;
    min-width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 4px;
    img {
      width: 100%;
      height: 100%;
    }
  }
  div:nth-child(2) {
    margin-left: 10px;
    p {
      margin: 0 0 10px 0;
      color: #86909c;
      font-size: 12px;
      margin: 5px 0 5px 0;
    }
    p:first-child {
      font-size: 14px;
      color: #3d3d3d;
    }
  }
}
// 清楚定时弹框里边的样式
.time_content {
  text-align: center;
  p {
    font-size: 14px;
    margin-top: 10px;
  }
}
.clear_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0 0 0;
}
.refuse_becuse {
  p:first-child {
    font-weight: bold;
    color: red;
    font-size: 24px;
  }
  div {
    height: 100px;
    box-sizing: border-box;
    border-radius: 4px 4px 4px 4px;
    border: 1px solid #dcdcdc;
    padding: 20px;
    overflow: hidden;
    p {
      margin: 0;
    }
    p:nth-child(1) {
      color: #ff3333;
      font-size: 18px;
      margin-bottom: 16px;
      font-weight: 400;
    }
    p:nth-child(2) {
      color: #3d3d3d;
      font-size: 14px;
      font-weight: 400;
    }
  }
  margin-bottom: 32px;
}
